package com.itbupt.types.design.framework.tree;

/**
 * @Author dingchang
 * @Date 2025/1/27 23:11
 * @Description: 策略处理器
 * T: 入参
 * D: 上下文
 * R: 返参
 */
public interface StrategyHandler<T, D, R> {

    StrategyHandler DEFAULT = (T, D) -> null;

    R apply(T requestParameter, D dynamicContext) throws Exception;


}
